home *** CD-ROM | disk | FTP | other *** search
- MiNT library for Heat-n-Serve/Sozobon C, patchlevel 44.
-
- This is a port of Eric Smith's MiNT library to Heat-n-Serve C, based on
- Dave Gymer's original port. It replaces the files dlibs.a, dstart.o,
- and libm.a from the original Heat-n-Serve distribution, and includes a
- simple termcap library.
-
- A reminder, you _will_ need the pl44 include files to use this library.
- These can be found where you found this archive, in the file
- mntinc44.zoo or similar.
-
- WHAT'S HERE:
-
- 00readme
- This file.
- cmprss.ttp
- A utility by Thorsten Roskowetz to shrink osbind.h somewhat.
- dlibs.a
- dstart.o
- MiNT-aware replacements for the Heat-n-Serve distribution files
- of the same name.
- libm.a
- Floating point support. Actually, this is identical to the
- libm.a from the original Heat-n-Serve distribution, except that
- the floating-point stdio routines have been recompiled with the
- MiNT headers (since dLibs and the MiNTlibs disagree on the shape
- of a FILE).
- libtermcap.a
- A simple termcap library.
-
- NOTE: All of the above use short external identifiers and are
- hence compatible with HSC v1.40 and earlier. When (if?) Ian
- releases v2.00 or higher, I will release a compatible library.
-
- patch/
- Stuff you'll need if you want to start playing around with the
- library source.
-
- IF YOU JUST WANT TO USE IT:
-
- To get yourself up and running with the MiNTlibs, do the following:
-
- 0) Obtain and install the MiNT include files for this version.
-
- 1) Copy the files dlibs.a, dstart.o, libm.a and libtermcap.a to the
- directory where your MiNT library will live. Also copy the files
- vdifast.a and aesfast.a from the Heat-n-Serve distribution to this
- directory.
-
- 2) Rename the include file osbind.h to osbind.hx and run cmprss.ttp
- with the options "-o osbind.h osbind.hx". This removes superfluous
- whitespace from osbind.h, so that the extremely long lines don't
- choke HSC's static line buffer.
-
- 3) Replace the gemfast.h from the MiNT include distribution with the
- one from the Heat-n-Serve distribution.
-
- 4) Set the environment variables LIB and INCLUDE to point to your MiNT
- library directory and MiNT include files directory, respectively.
-
- And you're ready to roll! The MiNT library is a complete replacement
- for dLibs, but if you should need to switch back temporarily, you can
- simply change LIB and INCLUDE appropriately.
-
- IF YOU WANT TO PLAY WITH IT:
-
- Ah, the hacker type, eh? Okay, here's how to update the pl44 source
- release to HSC pl44:
-
- 0) Obtain and install the MiNT library source distribution for this
- version. Also obtain the following programs from atari.archive:
-
- patch To install the enclosed diffs
- cpp \
- mit2mot / To build the .cpp files
-
- 1) Apply the patches in patch/code44.diffs from this archive using patch
- (alternatively, you could apply the patches by hand; the format of
- the context diffs is pretty easy to understand).
-
- 2) Place the programs cpp.ttp and mit2mot.ttp somewhere that make can
- find them.
-
- 3) In the main source directory, delete all files beginning with `_',
- as well as alglobal.c, linea.c and inistack.c. Copy all the .s
- files from sozobon/, as well as termcap.c and makefile, to the main
- source directory.
-
- 4) Type `make'. Go watch a movie. ;)
-
- You should now have files dlibs.a, dstart.o and libtermcap.a, which
- should be identical to the ones in this package.
-
- DISCLAIMER:
-
- What, you were expecting an ironclad guarantee of performance? ;) Okay,
- while I have built several large programs with this library with no
- problems, I can't guarantee that there aren't still a few bugs lurking
- around in the code. Caveat emptor, use at your own risk, and all that
- jazz. And if you should happen to find a bug, please notify me at the
- address below.
-
- Have fun!
-
- Scott Bigham dsb@cs.duke.edu
-